//
//  ChatBean.swift
//  AirlineReservation
//
//  Created by Kevin on 2020/1/17.
//  Copyright © 2020 Kevin. All rights reserved.
//

import UIKit

class ChatBean: NSObject {
    
    @objc var text:String?
    @objc var time:String?
    @objc var type:String?
    
    @objc var picture:UIImage?
    var isHidden:Bool = false
    
    override init() {
        
    }
    
    init(dict:[String:String]) {
        super.init()
        setValuesForKeys(dict)
    }
    
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        
    }
    
    override var description: String {
        return dictionaryWithValues(forKeys: ["text","time","type","isHidden"]).description
    }
}
